﻿Public Class MainForm
    Private ucBienvenida As New Bienvenida
    Private ucUsuarios As New Usuarios
    Private ucDepartamentos As New Departamentos
    Private ucConfiguracion As New Configuracion

    Private Sub MainForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'Bienvenida
        ucBienvenida.Visible = True
        tpPrincipal.Controls.Add(ucBienvenida)

        'Usuarios
        ucUsuarios.Visible = True
        tpUsuarios.Controls.Add(ucUsuarios)

        'Departamentos
        ucDepartamentos.Visible = True
        tpDepartamentos.Controls.Add(ucDepartamentos)

        'Configuración
        ucConfiguracion.Visible = True
        tpConfiguracion.Controls.Add(ucConfiguracion)
    End Sub
End Class
